<?PHP
include '../constants.php';
$category=new product_category();
$category->id=$_POST['id'];
$data=$category->get_category();
if(empty($data))
{
	echo 'no links, Nothing to Delete';

}
else
{
	echo 'linked, Deleting';
	delete_sql('product_category','id',$_POST['id'],FALSE);
}



?>